class CreateThemes < ActiveRecord::Migration
  def change
    create_table :themes do |t|
      t.string :name, null: false             #主题名称
      t.string :value
      t.belongs_to :admin_user
      t.timestamps null: false
    end
  end
end
